package cn.gson.crm.model.po;

import java.util.Date;

import cn.gson.crm.model.entity.Student;

public class FollowStudentPo extends Student {
	// 跟进记录id
	private Integer recordId;
	// 咨询师名字
	private String counselorName;
	// 详情记录
	private String content;
	// 跟进方式
	private String way;
	// 跟进时间
	private Date followTime;
	// 写跟进情况记录时间
	private Date recordTime;
	// 下一次跟进时间
	private Date nextTime;
	// 次数
	private Integer frequency;
	// 学员状态
	private String stuGradeText;
	// 协助创建时间
	private Date asCreateTime;
	// 是否协助
	private String isAssist;
	// 协助来源
	private Integer assitstFrom;
	// 协助跟进的员工名字
	private String assitstEmpName;
	// 附件
	private int attach;
	// 学制
	private String classTypeText;

	public void setAttach(int attach) {
		this.attach = attach;
	}

	public int getAttach() {
		return attach;
	}

	public void FollowStudentPo() {
	}

	public Integer getRecordId() {
		return recordId;
	}

	public void setRecordId(Integer recordId) {
		this.recordId = recordId;
	}

	public String getCounselorName() {
		return counselorName;
	}

	public void setCounselorName(String counselorName) {
		this.counselorName = counselorName;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getWay() {
		return way;
	}

	public void setWay(String way) {
		this.way = way;
	}

	public Date getFollowTime() {
		return followTime;
	}

	public void setFollowTime(Date followTime) {
		this.followTime = followTime;
	}

	public Date getRecordTime() {
		return recordTime;
	}

	public void setRecordTime(Date recordTime) {
		this.recordTime = recordTime;
	}

	public Date getNextTime() {
		return nextTime;
	}

	public void setNextTime(Date nextTime) {
		this.nextTime = nextTime;
	}

	public Integer getFrequency() {
		return frequency;
	}

	public void setFrequency(Integer frequency) {
		this.frequency = frequency;
	}

	public Date getAsCreateTime() {
		return asCreateTime;
	}

	public void setAsCreateTime(Date asCreateTime) {
		this.asCreateTime = asCreateTime;
	}

	public String getIsAssist() {
		return isAssist;
	}

	public void setIsAssist(String isAssist) {
		this.isAssist = isAssist;
	}

	public Integer getAssitstFrom() {
		return assitstFrom;
	}

	public void setAssitstFrom(Integer assitstFrom) {
		this.assitstFrom = assitstFrom;
	}

	public String getAssitstEmpName() {
		return assitstEmpName;
	}

	public void setAssitstEmpName(String assitstEmpName) {
		this.assitstEmpName = assitstEmpName;
	}

	public void setStuGradeText(String stuGradeText) {
		this.stuGradeText = stuGradeText;
	}

	public String getStuGradeText() {
		return stuGradeText;
	}

	@Override
	public void setGradeId(Integer gradeId) {
		super.setGradeId(gradeId);
		switch (gradeId) {
		case 1:
			this.stuGradeText = "完全没兴趣";
			break;
		case 2:
			this.stuGradeText = "可发展客户";
			break;
		case 3:
			this.stuGradeText = "潜在客户";
			break;
		case 4:
			this.stuGradeText = "意向客户";
			break;
		case 5:
			this.stuGradeText = "已签约";
			break;
		case 6:
			this.stuGradeText = "已入学";
			break;
		case 7:
			this.stuGradeText = "已退学";
			break;
		case 8:
			this.stuGradeText = "已毕业";
			break;
		case 9:
			this.stuGradeText = "就业中";
			break;
		case 10:
			this.stuGradeText = "已就业";
			break;
		case 11:
			this.stuGradeText = "已归档";
			break;
		default:
			this.stuGradeText = "可发展客户";
			break;
		}
	}

	public String getClassTypeText() {
		return this.classTypeText;
	}

	public void setClassType(Integer classType) {
		super.setClassType(classType);
		switch (classType) {
		case 1:
			this.classTypeText = "高中部";
			break;
		case 2:
			this.classTypeText = "研发部";
			break;
		default:
			this.classTypeText = "全部";
			break;
		}
	}

}